package cn.lanqiao.rabc.service.impl;

import cn.lanqiao.rabc.dao.MenuDao;
import cn.lanqiao.rabc.entity.Menu;
import cn.lanqiao.rabc.service.MenuService;
import cn.lanqiao.rabc.vo.MenuVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    MenuDao menuDao;

    @Override
    public List<MenuVO> queryMenuListByRoleId(int roleId) {
        return menuDao.queryMenuListByRoleId(roleId);
    }

}
